package com.smarttest.portal.service;

import java.util.List;

import com.smarttest.portal.pojo.DbAutoEnvironment;
import com.smarttest.portal.pojo.DbAutoInterfacescenedetailsWithBLOBs;
import com.smarttest.portal.pojo.DbAutoInterfacesummary;
import com.smarttest.portal.pojo.DbAutoInterfacesummaryWithBLOBs;
import com.smarttest.portal.pojo.DbAutoModule;

public interface Autocase_Mgmt_V2_Service {
	List<DbAutoInterfacesummary> getInfByModule(List<Integer> ids);
	List<DbAutoModule> getModuleByEnv(int envid);
	List<DbAutoInterfacesummary>getInfByEnv (int envid);
	List<DbAutoInterfacesummaryWithBLOBs>getInfBySearch(int env,List<Integer> modules,List<Integer> ids,List<Integer> importants,List<String> owners,List<Integer> levellist);
	int addAutoCase(String inf, int env, int url, String inftype, int degree, int module,
			String tester, String reqType, String outerparams, boolean dataAsUrlparam, String jsonstr,List<DbAutoInterfacescenedetailsWithBLOBs> items) throws Exception;
	List<DbAutoEnvironment> initEnvSele();
	List<DbAutoInterfacescenedetailsWithBLOBs> getInfDetialsBySummary(int summaryId,List<Integer> levellist);
	List<DbAutoInterfacesummaryWithBLOBs> loadSummById(int id);
	List<DbAutoInterfacescenedetailsWithBLOBs> loadDetailBySummaryId(int id);
	int updateAutoCase(int id,String inf, int env, int url, String inftype, int degree, int module,
			String tester, String reqType, String outerparams, boolean dataAsUrlparam, List<DbAutoInterfacescenedetailsWithBLOBs> items,List<Integer> deleteIds) throws Exception;
	
}
